<template>
	<view>
		<image src="../../static/images/bg.jpg" class="bg"></image>
		<view class="text">恭喜您成功绑定SGSmart！</view>
		<view class="btn" @tap="close">关闭页面</view>
	</view>
</template>

<script>
	export default {
		methods: {
			close() {
				WeixinJSBridge.call('closeWindow');
			}
		},
		// onBackPress() {
		// 	return true
		// }
	}
</script>

<style lang="stylus" scoped>
	.bg
		width 100%
		height 762rpx
	.text
		font-size 42rpx
		color #000000
		margin 100rpx 0
		text-align center
	.btn
		width 550rpx
		height 96rpx
		line-height 96rpx
		margin 0 auto
		text-align center
		color #fff
		font-size 48rpx
		background-color #ff830e
</style>
